@extends('adminDialog')
@section('content')
    <input type="hidden" name="_token" value="{{ csrf_token() }}">
    <div class="pop_cont pop_table" style="overflow-y: scroll;height: 529px;">
        <table width="100%">
            <tbody>
            <tr>
                <th><label for="title">联系电话 </label></th>
                <td>
                    {{$model->mobile}}
                </td>
            </tr>
            <tr>
                <th><label for="title">头像 </label></th>
                <td>
                    @if(isset($model->headurl))
                        <img src="{{$model->headurl}}"/>
                    @endif
                </td>
            </tr>
            <tr>
                <th><label for="title">状态 </label></th>
                <td>
                    {{$state[$model->state]}}
                </td>
            </tr>
            <tr>
                <th><label for="title">真实姓名 </label></th>
                <td>
                    {{$model->realname}}
                </td>
            </tr>
            <tr>
                <th><label for="title">昵称 </label></th>
                <td>
                    {{$model->nickname}}
                </td>
            </tr>
            <tr>
                <th><label for="title">性别 </label></th>
                <td>
                    {{isset($model->sex) ? $model->sex : "未知"}}
                </td>
            </tr>
            <tr>
                <th><label for="title">生日 </label></th>
                <td>
                    {{isset($model->birthday) ? $model->birthday : "未知"}}
                </td>
            </tr>
            <tr>
                <th><label for="title">身份证号 </label></th>
                <td>
                    {{$model->identitycard}}
                </td>
            </tr>
            <tr>
                <th><label for="title">自我描述 </label></th>
                <td>
                    {{$model->describe}}
                </td>
            </tr>
            <tr>
                <th><label for="title">抢单时间 </label></th>
                <td>
                    {{0 == $model->ordertime ? "不限" : 1 == $model->ordertime ? "白天(早7到晚19)" : "晚上(晚19到早7)"}}
                </td>
            </tr>
            <tr>
                <th><label for="title">星级 </label></th>
                <td>
                    {{isset($model->rank) ? $model->rank : "4"}}
                </td>
            </tr>
            <tr>
                <th><label for="title"> 身份证正面 </label></th>
                <td>
                    @if(isset($model->fimgurl))
                        <img src="{{$model->fimgurl}}"/>
                    @endif
                </td>
            </tr>
            <tr>
                <th><label for="title"> 身份证反面 </label></th>
                <td>
                    @if(isset($model->bimgurl))
                        <img src="{{$model->bimgurl}}"/>
                    @endif
                </td>
            </tr>
            <tr>
                <th><label for="title">账户余额 </label></th>
                <td>
                    {{$model->accountbalance}}
                </td>
            </tr>

            </tbody>
        </table>
    </div>

    <div class="pop_bottom cc">
        <button type="reset" class="btn fr" id="J_dialog_close">退出</button>
    </div>
@stop

@section('style')
    <style>
        .body_none {
            width: 720px;
        }
    </style>
@stop